package com.simple.datax.api;

import com.simple.datax.SimpleObject;

/** 
 * @Title: Connector.java 
 * @Package com.simple.datax.api 
 * @Description: 连接器接口定义
 * @author Paladin Chen 
 * @date 2012-12-14 下午9:04:27 
 * @version V1.0 
 */
public interface Connector{
	// 断开连接
	public void disconnect();
	
	// 读取一条信息或一个文件
	public String getMessage() throws ConnectorException;
	
	// 发送一条信息
	public boolean send(SimpleObject object);
}
